<ion-header>
  <ion-toolbar>
    <ion-title>
      新闻列表
    </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <app-myloading [hasData]="initData"></app-myloading>
  <ion-list>
    <ion-item *ngFor="let item of list" [routerLink]="['/detail']" [queryParams]="{aid:item.aid}">
      <ion-label>{{item.title}}</ion-label>
    </ion-item>
  </ion-list>
  <ion-infinite-scroll threshold="25%" (ionInfinite)="getDataVer3($event)">
    <ion-infinite-scroll-content loadingSpinner="crescent" loadingText="Loading more data...">
    </ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>